<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/normalize.css">
    <!-- 先引入css文件 放到自己css文件的上面 -->
    <link rel="stylesheet" href="css/swiper-bundle.min.css">
    <link rel="stylesheet" href="css/index.css">
</head>
<body>

    <section class="wrap">
        <!-- 头部 -->
        <header class="header">黑马面面</header>
        <!-- nav部分 -->
        <nav class="nav">
            <a href="#" class="item">
                <img src="/icon/icon1.png" alt="">
                <span>面试</span>
            </a>
            <a href="#" class="item">
                <img src="/icon/icon2.png" alt="">
                <span>笔试</span>
            </a>
            <a href="#" class="item">
                <img src="/icon/icon3.png" alt="">
                <span>技术面试</span>
            </a>
            <a href="#" class="item">
                <img src="/icon/icon4.png" alt="">
                <span>面试</span>
            </a>
            <a href="#" class="item">
                <img src="/icon/icon5.png" alt="">
                <span>面试</span>
            </a>
            <a href="#" class="item">
                <img src="/icon/icon6.png" alt="">
                <span>面试</span>
            </a>
        </nav>
        <!-- go模块 -->
        <section class="go">
            <img src="/images/go.png" alt="">
        </section>
    </section>
    <!-- 就业指导模块 -->
    <section class="content">
        <!-- 头部 -->
        <div class="con-hd">
            <h4>
                <span class="icon"><img src="./icon/i2.png" alt=""></span>
                就业指导
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!-- 旋转木马轮播 -->
        <div class="con-bd">
            <!-- Swiper -->
            <div class="swiper-container view">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/pic.png" alt="" /></a>
                        <p>明月挂在树上 月色正好</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/2.jpg" alt="" /></a>
                        <p>时光 来去悄悄</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/3.jpg" alt="" /></a>
                        <p>白月光在照耀</p>
                    </div>
                </div>
            </div>
            <!-- Add Arrows -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </section>
    <!-- 充电学习模块 -->
    <section class="content">
        <!-- 头部 -->
        <div class="con-hd">
            <h4>
                <span class="icon"><img src="./icon/i1.png" alt=""></span>
                充电学习
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!-- 学习模块 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper-container studyy">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="./images/pic2.png" alt="" />
                        <h5>说低调英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="" />
                        <h5>说低调英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic2.png" alt="" />
                        <h5>说低调英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="" />
                        <h5>说低调英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>
    <footer class="footer">
        <a href="#" class="item">
            <img src="./icon/home.png" alt="" />
            <p>首页</p>
          </a>
          <a href="#" class="item">
            <img src="./icon/ms.png" alt="" />
            <p>模拟面试</p>
          </a>
          <a href="#" class="item">
            <img src="./icon/net.png" alt="" />
            <p>技术面试</p>
          </a>
          <a href="#" class="item">
            <img src="./icon/user.png" alt="" />
            <p>我的首页</p>
          </a>
    </footer>
    <script src="./js/flexible.js"></script>
    <script src="js/swiper-bundle.min.js"></script>
    <!-- Initialize Swiper -->
    <script>
        //第一个轮播
        // 立即执行函数，也称沙箱函数
        (function(){
            var swiper = new Swiper('.view', {  
                // 能够显示的 slider的个数
                slidesPerView: 2,
                // 每一个slide之间的距离
                spaceBetween: 30,
                centeredSlides: true,
                loop: true,
                // 添加左右箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
        });
        })();
        // 第二个函数的轮播图
        (function () {
            //  如果有多个轮播图最好修改下 swiper-container
            var swiper = new Swiper(".studyy", {
            // 我们可以可以看看到的是 2个半
            slidesPerView: 2.2,
            spaceBetween: 20,
            });
        })();
        </script>
</body>
</html>